package com.heatup.apt.api.controller.order.ordertype;

import com.heatup.apt.api.controller.order.OrderVo;
import com.heatup.apt.api.controller.order.paytype.PayTypeAbstractFactory;

public abstract class OrderTypeAbstractFactory {
	
	protected PayTypeAbstractFactory payTypeAbstractFactory;
	
	public PayTypeAbstractFactory getPayTypeAbstractFactory() {
		return payTypeAbstractFactory;
	}

	public void setPayTypeAbstractFactory(PayTypeAbstractFactory payTypeAbstractFactory) {
		this.payTypeAbstractFactory = payTypeAbstractFactory;
	}

	/**
	 * 处理参数
	 * @return
	 */
	public Boolean dealParam(OrderVo orderVo){
		System.out.println("默认验证参数");
		return true;
	}
	
	/**
	 * 更新状态
	 */
	public boolean updateStatus(OrderVo orderVo){
		
		return true;
	}
	
	/**
	 * 统一下单入口
	 * @return
	 */
	public OrderVo makeOrder(OrderVo orderVo){
		
		return null;
	}


}
